home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic 5 Developer's Kit / vb5 dev kit.iso / dev / ct_ocx / ct_genrl.frm (.txt) < prev    next >
Encoding:
Visual Basic Form  |  1996-01-03  |  9.6 KB  |  280 lines

  1. VERSION 4.00
  2. Begin VB.Form w_general_demo 
  3.    BorderStyle     =   3  'Fixed Dialog
  4.    Caption         =   "General Controls Demo"
  5.    ClientHeight    =   4830
  6.    ClientLeft      =   2145
  7.    ClientTop       =   2355
  8.    ClientWidth     =   6480
  9.    Height          =   5235
  10.    Icon            =   "ct_genrl.frx":0000
  11.    Left            =   2085
  12.    LinkTopic       =   "Form1"
  13.    MaxButton       =   0   'False
  14.    MDIChild        =   -1  'True
  15.    MinButton       =   0   'False
  16.    ScaleHeight     =   4830
  17.    ScaleWidth      =   6480
  18.    ShowInTaskbar   =   0   'False
  19.    Top             =   2010
  20.    Width           =   6600
  21.    Begin VB.CommandButton Command1 
  22.       Caption         =   "E&xit"
  23.       BeginProperty Font 
  24.          name            =   "MS Sans Serif"
  25.          charset         =   0
  26.          weight          =   700
  27.          size            =   8.25
  28.          underline       =   0   'False
  29.          italic          =   0   'False
  30.          strikethrough   =   0   'False
  31.       EndProperty
  32.       Height          =   435
  33.       Left            =   2700
  34.       TabIndex        =   3
  35.       Top             =   4200
  36.       Width           =   1035
  37.    End
  38.    Begin FrameLibCtl.ctFrame ctFrame1 
  39.       Height          =   1575
  40.       Left            =   300
  41.       TabIndex        =   0
  42.       Top             =   240
  43.       Width           =   5895
  44.       _version        =   65536
  45.       _extentx        =   10398
  46.       _extenty        =   2778
  47.       _stockprops     =   32
  48.       outerwidth      =   6
  49.       outerborder     =   4
  50.       backcolor       =   12632256
  51.       bordercolor     =   16777215
  52.       Begin VB.Label Label1 
  53.          Alignment       =   2  'Center
  54.          Caption         =   $"ct_genrl.frx":030A
  55.          BeginProperty Font 
  56.             name            =   "MS Sans Serif"
  57.             charset         =   0
  58.             weight          =   400
  59.             size            =   9.75
  60.             underline       =   0   'False
  61.             italic          =   0   'False
  62.             strikethrough   =   0   'False
  63.          EndProperty
  64.          ForeColor       =   &H00800000&
  65.          Height          =   1215
  66.          Left            =   180
  67.          TabIndex        =   1
  68.          Top             =   120
  69.          Width           =   5475
  70.       End
  71.    End
  72.    Begin GroupLib.ctGroup ctGroup1 
  73.       Height          =   2355
  74.       Left            =   240
  75.       TabIndex        =   2
  76.       Top             =   2280
  77.       Width           =   2055
  78.       _version        =   65536
  79.       _extentx        =   3625
  80.       _extenty        =   4154
  81.       _stockprops     =   70
  82.       caption         =   "Check Boxes"
  83.       BeginProperty font {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
  84.          name            =   "MS Sans Serif"
  85.          charset         =   0
  86.          weight          =   700
  87.          size            =   8.25
  88.          underline       =   0   'False
  89.          italic          =   0   'False
  90.          strikethrough   =   0   'False
  91.       EndProperty
  92.       Begin CheckLib.ctCheck ctCheck4 
  93.          Height          =   315
  94.          Left            =   240
  95.          TabIndex        =   8
  96.          Top             =   1800
  97.          Width           =   1635
  98.          _version        =   65536
  99.          _extentx        =   2884
  100.          _extenty        =   556
  101.          _stockprops     =   70
  102.          caption         =   "User Defined"
  103.          BeginProperty font {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
  104.             name            =   "MS Sans Serif"
  105.             charset         =   0
  106.             weight          =   400
  107.             size            =   9.76
  108.             underline       =   0   'False
  109.             italic          =   0   'False
  110.             strikethrough   =   0   'False
  111.          EndProperty
  112.          picturetrue     =   "ct_genrl.frx":0410
  113.          picturefalse    =   "ct_genrl.frx":0732
  114.          picstyle        =   0
  115.       End
  116.       Begin CheckLib.ctCheck ctCheck3 
  117.          Height          =   315
  118.          Left            =   240
  119.          TabIndex        =   7
  120.          Top             =   1320
  121.          Width           =   1575
  122.          _version        =   65536
  123.          _extentx        =   2778
  124.          _extenty        =   556
  125.          _stockprops     =   70
  126.          caption         =   "Style #3"
  127.          BeginProperty font {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
  128.             name            =   "MS Sans Serif"
  129.             charset         =   0
  130.             weight          =   400
  131.             size            =   9.76
  132.             underline       =   0   'False
  133.             italic          =   0   'False
  134.             strikethrough   =   0   'False
  135.          EndProperty
  136.          picstyle        =   3
  137.       End
  138.       Begin CheckLib.ctCheck ctCheck2 
  139.          Height          =   315
  140.          Left            =   240
  141.          TabIndex        =   6
  142.          Top             =   840
  143.          Width           =   1455
  144.          _version        =   65536
  145.          _extentx        =   2566
  146.          _extenty        =   556
  147.          _stockprops     =   70
  148.          caption         =   "Style #2"
  149.          BeginProperty font {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
  150.             name            =   "MS Sans Serif"
  151.             charset         =   0
  152.             weight          =   400
  153.             size            =   9.76
  154.             underline       =   0   'False
  155.             italic          =   0   'False
  156.             strikethrough   =   0   'False
  157.          EndProperty
  158.          picstyle        =   2
  159.       End
  160.       Begin CheckLib.ctCheck ctCheck1 
  161.          Height          =   315
  162.          Left            =   240
  163.          TabIndex        =   5
  164.          Top             =   360
  165.          Width           =   1515
  166.          _version        =   65536
  167.          _extentx        =   2672
  168.          _extenty        =   556
  169.          _stockprops     =   70
  170.          caption         =   "Style #1"
  171.          BeginProperty font {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
  172.             name            =   "MS Sans Serif"
  173.             charset         =   0
  174.             weight          =   400
  175.             size            =   9.76
  176.             underline       =   0   'False
  177.             italic          =   0   'False
  178.             strikethrough   =   0   'False
  179.          EndProperty
  180.       End
  181.    End
  182.    Begin GroupLib.ctGroup ctGroup2 
  183.       Height          =   2355
  184.       Left            =   4140
  185.       TabIndex        =   4
  186.       Top             =   2280
  187.       Width           =   2055
  188.       _version        =   65536
  189.       _extentx        =   3625
  190.       _extenty        =   4154
  191.       _stockprops     =   70
  192.       caption         =   "Radio Buttons"
  193.       BeginProperty font {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
  194.          name            =   "MS Sans Serif"
  195.          charset         =   0
  196.          weight          =   700
  197.          size            =   8.25
  198.          underline       =   0   'False
  199.          italic          =   0   'False
  200.          strikethrough   =   0   'False
  201.       EndProperty
  202.       alignment       =   1
  203.       bordertype      =   1
  204.       Begin RadioLib.ctRadio ctRadio4 
  205.          Height          =   315
  206.          Left            =   360
  207.          TabIndex        =   12
  208.          Top             =   1740
  209.          Width           =   1395
  210.          _version        =   65536
  211.          _extentx        =   2461
  212.          _extenty        =   556
  213.          _stockprops     =   70
  214.          caption         =   "User Defined"
  215.          picturetrue     =   "ct_genrl.frx":0A54
  216.          picturefalse    =   "ct_genrl.frx":0BE6
  217.          picstyle        =   0
  218.          alignment       =   1
  219.          showfocus       =   -1  'True
  220.       End
  221.       Begin RadioLib.ctRadio ctRadio3 
  222.          Height          =   315
  223.          Left            =   360
  224.          TabIndex        =   11
  225.          Top             =   1260
  226.          Width           =   1395
  227.          _version        =   65536
  228.          _extentx        =   2461
  229.          _extenty        =   556
  230.          _stockprops     =   70
  231.          caption         =   "Style #3"
  232.          picturetrue     =   "ct_genrl.frx":0D78
  233.          picturefalse    =   "ct_genrl.frx":0D94
  234.          picstyle        =   3
  235.          alignment       =   1
  236.       End
  237.       Begin RadioLib.ctRadio ctRadio2 
  238.          Height          =   315
  239.          Left            =   360
  240.          TabIndex        =   10
  241.          Top             =   780
  242.          Width           =   1395
  243.          _version        =   65536
  244.          _extentx        =   2461
  245.          _extenty        =   556
  246.          _stockprops     =   70
  247.          caption         =   "Style #2"
  248.          picturetrue     =   "ct_genrl.frx":0DB0
  249.          picturefalse    =   "ct_genrl.frx":0DCC
  250.          picstyle        =   2
  251.          alignment       =   1
  252.       End
  253.       Begin RadioLib.ctRadio ctRadio1 
  254.          Height          =   315
  255.          Left            =   360
  256.          TabIndex        =   9
  257.          Top             =   300
  258.          Width           =   1395
  259.          _version        =   65536
  260.          _extentx        =   2461
  261.          _extenty        =   556
  262.          _stockprops     =   70
  263.          caption         =   "Style #1"
  264.          picturetrue     =   "ct_genrl.frx":0DE8
  265.          picturefalse    =   "ct_genrl.frx":0E04
  266.          alignment       =   1
  267.          value           =   -1  'True
  268.       End
  269.    End
  270. Attribute VB_Name = "w_general_demo"
  271. Attribute VB_Creatable = False
  272. Attribute VB_Exposed = False
  273. Private Sub Command1_Click()
  274.    Unload w_general_demo
  275. End Sub
  276. Private Sub Form_Load()
  277.    ' Center the window on the screen
  278.    Move (Screen.Width - Width) / 2, (Screen.Height - Height) * 0.15
  279. End Sub
  280.